# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ospd-ancor
pkgver=1.0.0
pkgrel=4
_pkgid=2005
pkgdesc="OSP server implementation to allow OpenVAS to get scan results from an Ancor server"
url="http://openvas.org/"
arch="noarch"
license="GPL-2.0-or-later"
depends="python3 py3-requests ospd"
makedepends="python3-dev py3-setuptools"
source="http://wald.intevation.org/frs/download.php/$_pkgid/$pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}


sha512sums="5bf23798c6bed4ba70e8f9c694c5870ef05d39a92091821687251e92df05363016a700dd9432c94646af7763bc7f6681b69a827f9bd8786a614a356d8c40602a  ospd-ancor-1.0.0.tar.gz"
